﻿<navigation:Page x:Class="Projet_Equipement.FenetreEquipement" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="640" d:DesignHeight="480"
           Title="FenetreEquipement Page"
           Style="{StaticResource PageStyle}">
    <Grid x:Name="LayoutRoot">
        <TextBlock x:Name="txtblockEquipement" HorizontalAlignment="Left" Height="480" TextWrapping="Wrap" Text="Equipement" VerticalAlignment="Top" Width="640"/>
        <TextBlock x:Name="txtblockFiltres" HorizontalAlignment="Left" Height="141" Margin="10,23,0,0" TextWrapping="Wrap" Text="Filtres" VerticalAlignment="Top" Width="620"/>
        <sdk:Label x:Name="lbDebutDisponibilite" Content="Début de disponibilité :" HorizontalAlignment="Left" Height="20" Margin="220,41,0,0" VerticalAlignment="Top" Width="130"/>
        <sdk:DatePicker x:Name="dpDebutDisponibilite" HorizontalAlignment="Left" Height="23" Margin="220,61,0,0" Text="{Binding Path=DateDebutDisponibilite, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"  VerticalAlignment="Top" Width="130"/>
        <sdk:Label x:Name="lbFinDisponibilite" Content="Fin de disponibilité :" HorizontalAlignment="Left" Height="20" Margin="400,40,0,0" VerticalAlignment="Top" Width="130"/>
        <sdk:DatePicker x:Name="dpFinDisponibilite" HorizontalAlignment="Left" Height="23" Margin="400,61,0,0" Text="{Binding Path=DateFinDisponibilite, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" VerticalAlignment="Top" Width="130"/>
        <sdk:Label x:Name="lbTypeMateriel" Content="Type de matériel :" HorizontalAlignment="Left" Height="20" Margin="20,99,0,0" VerticalAlignment="Top" Width="130"/>
        <ComboBox x:Name="cbTypeMateriel" HorizontalAlignment="Left" Height="22" Margin="124,97,0,0"  VerticalAlignment="Top" Width="138"/>
        <sdk:Label x:Name="lbCategorie" Content="Catérogie :" HorizontalAlignment="Left" Height="20" Margin="20,134,0,0" VerticalAlignment="Top" Width="130"/>
        <ComboBox x:Name="cbCategorie" HorizontalAlignment="Left" Height="22" Margin="124,131,0,0" VerticalAlignment="Top" Width="138"/>
        <sdk:Label x:Name="lbMarque" Content="Marque :" HorizontalAlignment="Left" Height="20" Margin="350,99,0,0" VerticalAlignment="Top" Width="130"/>
        <ComboBox x:Name="cbMarque" HorizontalAlignment="Left" Height="22" Margin="454,96,0,0" VerticalAlignment="Top" Width="138"/>
        <sdk:Label x:Name="lbRecherche" Content="Recherche :" HorizontalAlignment="Left" Height="20" Margin="350,134,0,0" VerticalAlignment="Top" Width="130" RenderTransformOrigin="0.512,2.475"/>
        <TextBox x:Name="txtRecherche" HorizontalAlignment="Left" Height="23" Margin="454,131,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="138"/>

        <TextBlock x:Name="txtblockListe" HorizontalAlignment="Left" Height="291" Margin="10,180,0,0" TextWrapping="Wrap" Text="Liste" VerticalAlignment="Top" Width="620"/>
        <ListBox ItemsSource="{Binding Strings}" SelectedItem="{Binding SelectedString, Mode=TwoWay}" x:Name="ltboxListe" HorizontalAlignment="Left" Height="230" Margin="20,200,0,0" VerticalAlignment="Top" Width="600" SelectionChanged="ltboxListe_SelectionChanged"/>
        <Button x:Name="btnDetailEquipement" Content="Détail Equipement" HorizontalAlignment="Left" Height="22" Margin="20,440,0,0" VerticalAlignment="Top" Width="135"/>
        <Button x:Name="btnModifDetailEquipement" Content="Modification détail éq." HorizontalAlignment="Left" Height="22" Margin="175,440,0,0" VerticalAlignment="Top" Width="135"/>
        <Button x:Name="btnReserver" Content="Réserver" HorizontalAlignment="Left" Height="22" Margin="330,440,0,0" VerticalAlignment="Top" Width="135"/>
        <Button x:Name="btnAjouterFavoris" Content="Ajouter au favoris" HorizontalAlignment="Left" Height="22" Margin="485,440,0,0" VerticalAlignment="Top" Width="135"/>
        <CheckBox x:Name="cbxEquipement" Content="Plage de disponibilité:" HorizontalAlignment="Left" Height="20" Margin="10,41,0,0" VerticalAlignment="Top" Width="582"/>
    </Grid>
</navigation:Page>

